
// 每页数据10个，最大为40个数据 . 1-4
let getPageObject = function (num) {
    console.log(num);
    let arr = []
    if(num > 4){
        return arr;
    }
    let ra = Math.floor(Math.random(10) * 100 % 100);
    for (let index = 0; index < 10; index++) {

        let s = { 'name': index + 'a' + ra, 'age': index + 10 + ra, 'num': ra + '2024' + index }
        arr.push(s);
    }
    console.log(arr);
    return arr;
}

export default {
    getPageObject
}